package com.ctvit.cch.core.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 热点分类列表 VO
 *
 * @author heyingcheng
 * @date 2025/07/19
 */
@Getter
@Setter
@ToString
public class HotCategoryListVO {

    protected Integer categoryId;

    protected Integer parentId;

    protected String categoryName;

    protected String categoryDesc;

    protected Integer orderNum;

    protected String status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected LocalDateTime createTime;

    protected List<HotCategoryListVO> children;

    public HotCategoryListVO() {
        children = new ArrayList<>();
    }

}
